﻿#region Copyright(C) 2018 FI Ltd. All rights reserved.
// ==================================================================================================
// Copyright(C) 2018 FI Ltd. All rights reserved.
//
// SYSTEM NAME	    : FI.Net Application Framework
// COMPONENT ID	    : FI.Core
// COMPONENT DESC   : FI.Net Core Foundation
//
// CREATED DATE/BY  : 18 Aug 2018 / Tian Mi
//
// REVISION HISTORY :	
// DATE/BY			SR#/CS/PM#/OTHERS		DESCRIPTION OF CHANGE
// ==================================================================================================
#endregion

using FI.Core.IoC;
using System.Configuration;

namespace FI.Core.Configuration
{
    /// <summary>
    /// All of concrete <see cref="ConfigurationSection"/> classes in which the service locaor can be specified should be derived from this class.
    /// </summary>
    public abstract class ServiceLocatableSettings: ConfigurationSection, IServiceLocatorConfigurator
    {
        /// <summary>
        /// Configures the specified service locator.
        /// </summary>
        /// <param name="serviceLocator">The service locator.</param>
        public virtual void Configure(IServiceLocator serviceLocator) { }
    }
}
